POV-Ray : Newsgroups : povray.programming : Re: vectors : Re: vectors Server Time
3 Jul 2024 06:00:13 EDT (-0400)
  Re: vectors  
From: Mathieu
Date: 31 Jan 2004 14:12:59
Message: <401bfe3b@news.povray.org>
I'am referring to the vectors used by the do_diffuse and do_specular

void do_diffuse (FINISH *Finish, RAY *Light_Source_Ray,VECTOR Layer_Normal,
COLOUR Colour, COLOUR Light_Colour, COLOUR Layer_Pigment_Colour, DBL
Attenuation);

void do_specular (FINISH *Finish, RAY *Light_Source_Ray, VECTOR REye, VECTOR
Layer_Normal, COLOUR Colour, COLOUR Light_Colour, COLOUR
Layer_Pigment_Colour);

And what about REye is it the vector opposite to Eye (from current surface
point of view) ?
Are they all normalized ? (in fact it will be a great advantage for thing I
am going to do :o))

Thanks for all.

Mathieu


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.